class Payment < ActiveRecord::Base
	belongs_to :invoice
	belongs_to :payment_method
	belongs_to :card_provider
	
	validates :amount, :payment_method_id, presence: true
	
end
